package com.dhsc.local.dao.impl;

import com.dhsc.domain.jkzx.zxjk.YgkzzqxjkVo;
import com.dhsc.local.dao.zxjk.IYgkzzqxjkDao;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 员工可转债权限监控
 * @date 2024/11/12 10:25
 */
@Repository("ygzqxjkDao")
public class YgkzzqxjkDaoImpl implements IYgkzzqxjkDao {

    @Autowired
    private SqlSessionTemplate localSqlSessionTemplate;
    @Override
    public List<YgkzzqxjkVo> queryYgkzzqxjkinfo(YgkzzqxjkVo y) {
        return localSqlSessionTemplate.selectList("YgkzzqxjkMapper.queryYgkzzqxjkinfo", y);
    }

    @Override
    public List<YgkzzqxjkVo> queryQszd(YgkzzqxjkVo y) {
        return localSqlSessionTemplate.selectList("YgkzzqxjkMapper.queryQszd", y);
    }

    @Override
    public List<YgkzzqxjkVo> queryZhzd(YgkzzqxjkVo y) {
        return localSqlSessionTemplate.selectList("YgkzzqxjkMapper.queryZhzd", y);
    }
}
